﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Groups.aspx.cs" Inherits="YouthCMS.Groups" %>

<%@ Register Assembly="BasicFrame.WebControls.BasicDatePicker" Namespace="BasicFrame.WebControls"
    TagPrefix="BDP" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2 class="title">
        <a href="#">Opret Hold</a>
    </h2>
    <span class="styleForSubmitButtons">Her kan du oprette et nyt hold. </span>
    <div class="singleFields">
        <asp:Label ID="lblGroupName" Text="Gruppe Navn" runat="server" />
        <asp:TextBox ID="txtBoxGroupName" MaxLength="30" runat="server">
        </asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtBoxGroupName"
            CssClass="failureNotification" ErrorMessage="Indtast et holdnavn" ToolTip="Et holdnavn ER påkrævet"
            ValidationGroup="CreateGroupValidationGroup">*</asp:RequiredFieldValidator>
    </div>
    <div class="singleFields">
        <asp:Label ID="lblGroupDescription" Text="Beskrivelse" runat="server" />
        <asp:TextBox ID="txtBoxGroupDescription" MaxLength="255" TextMode="MultiLine" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtBoxGroupDescription"
            CssClass="failureNotification" ErrorMessage="Beskriv venligst holdet" ToolTip="Hvad laver holdet?"
            ValidationGroup="CreateGroupValidationGroup">*</asp:RequiredFieldValidator>
    </div>
    <div class="singleFields">
        <asp:Label ID="lblGroupStatus" MaxLength="30" Text="Status" runat="server" />
        <asp:TextBox ID="txtBoxGroupStatus" runat="server"></asp:TextBox>
    </div>
    <div class="singleFields">
        <asp:Label ID="lblStartTime" Text="Start Tidspunkt" runat="server" />
        <BDP:TimePicker ID="TimePicker1" runat="server">
        </BDP:TimePicker>
        <BDP:TimeRequiredValidator ID="TimeRequiredValidator1" runat="server" ValidationGroup="CreateGroupValidationGroup"
            ControlToValidate="TimePicker1" ErrorMessage="Tidspunkt er påkrævet: f.eks 13:30"></BDP:TimeRequiredValidator>
    </div>
    <div class="singleFields">
        <asp:Label ID="lblStudentMinimum" Text="Minimum Antal Elever Til Holdet" runat="server" />
        <asp:TextBox ID="txtBoxStudentMinimum" MaxLength="2" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtBoxStudentMinimum"
            CssClass="failureNotification" ErrorMessage="Angiv venligst, hvor få elever, der minimum skal være."
            ToolTip="...." ValidationGroup="CreateGroupValidationGroup">*</asp:RequiredFieldValidator>
    </div>
    <div class="singleFields">
        <asp:Label ID="lblStudentMax" MaxLength="2" Text="Max Antal Elever" runat="server" />
        <asp:TextBox ID="txtBoxStudentMax" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtBoxStudentMax"
            CssClass="failureNotification" ErrorMessage="Undfyld venligst, hvor mange elever der kan være på holdet."
            ToolTip="...." ValidationGroup="CreateGroupValidationGroup">*</asp:RequiredFieldValidator>
    </div>
    <div class="singleFields">
        <asp:Label ID="lblLessonCount" Text="Antal Timer Afsat" runat="server" />
        <asp:TextBox ID="txtBoxLessonCount" MaxLength="2" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtBoxLessonCount"
            CssClass="failureNotification" ErrorMessage="Angiv venligst timeantal, afsat til holdet."
            ToolTip="...." ValidationGroup="CreateGroupValidationGroup">*</asp:RequiredFieldValidator>
    </div>
    <div class="singleFields">
        <asp:Label ID="lblWeeklyHourCount" Text="Timer Pr Uge" runat="server" />
        <asp:TextBox ID="txtBoxWeeklyHourCount" MaxLength="2" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtBoxWeeklyHourCount"
            CssClass="failureNotification" ErrorMessage="Angiv venligst, hvor mange timer, holdet har om ugen."
            ToolTip="...." ValidationGroup="CreateGroupValidationGroup">*</asp:RequiredFieldValidator>
    </div>
    <div class="singleFields">
        <asp:Label ID="lblSubjectCode" Text="Emne Kode" runat="server" />
        <asp:TextBox ID="txtBoxSubjectCode" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtBoxSubjectCode"
            CssClass="failureNotification" ErrorMessage="Undfyld venligst, en hold kode."
            ToolTip="En hold kode for Malehold, kan f.eks være MA-HO." ValidationGroup="CreateGroupValidationGroup">*</asp:RequiredFieldValidator>
    </div>
    <div class="singleFields">
        <asp:Label ID="lblWeekDays" Enabled="false" Text="Dage I ugen" runat="server" />
        <asp:CheckBoxList ID="chbWeekDays" runat="server" Width="201px">
            <asp:ListItem Value="1">Mandag</asp:ListItem>
            <asp:ListItem Value="2">Tirsdag</asp:ListItem>
            <asp:ListItem Value="3">Onsdag</asp:ListItem>
            <asp:ListItem Value="4">Torsdag</asp:ListItem>
            <asp:ListItem Value="5">Fredag</asp:ListItem>
        </asp:CheckBoxList>
    </div>
    <div class="failureNotification">
        <asp:ValidationSummary ID="ValidationSummary1" CssClass="failureNotification" ValidationGroup="CreateGroupValidationGroup"
            runat="server" />
    </div>
    <p class="links">
        <asp:LinkButton ID="lButtonSubmit" CommandName="Login" ValidationGroup="CreateGroupValidationGroup"
            OnClick="SubmitGroup" runat="server">Opret Holdet</asp:LinkButton>
    </p>
</asp:Content>
